﻿using System;
using System.Management;

namespace Nextensions.Administration
{
    public class Common
    {
        public static ManagementScope GetScope()
        {
            ManagementScope ms = new ManagementScope(string.Format(@"winmgmts:\\{0}\root\cimv2", Environment.MachineName));
            ms.Connect();
            return ms;
        }
    }
}
